package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 自习室对象 sr_room
 * 
 * @author ruoyi
 * @date 2023-04-04
 */
public class SrRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自习室ID */
    private Long roomId;

    /** 自习室名字 */
    @Excel(name = "自习室名字")
    private String roomName;

    /** 自习室地址 */
    @Excel(name = "自习室地址")
    private String roomAddr;

    /** 自习室联系电话 */
    @Excel(name = "自习室联系电话")
    private String phone;

    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }
    public void setRoomAddr(String roomAddr) 
    {
        this.roomAddr = roomAddr;
    }

    public String getRoomAddr() 
    {
        return roomAddr;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roomId", getRoomId())
            .append("roomName", getRoomName())
            .append("roomAddr", getRoomAddr())
            .append("phone", getPhone())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
